package com.example.date;

import java.time.LocalDate;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author hej
 * @date 2023/4/11 20:27
 */
public class DateTest5 {
    public static void main(String[] args) {
        LocalDate minDate = LocalDate.now().plusDays(-10);
        System.out.println(minDate);
        LocalDate date = LocalDate.of(2025, 1 , 6);
        System.out.println(minDate.compareTo(date) < 1);
    }
}
